home *** CD-ROM | disk | FTP | other *** search
-
-
- rem
- rem Example of Program to print HELLO on screen.
- rem
- rem Now we have expanded to the hello program to do several more things.
- rem First, the prompt is now positioned in the middle of the screen
- rem (It looks nicer).
- rem
- rem Second, we use a windows command to adjust the size of our display
- rem window. The Windows size command allows us to adjust the area of screen
- rem displayed while in windows. This is nice for getting rid of blank
- rem space. The Windows size command is ignored when in DOS mode.
- rem
-
-
- rem windows size 30,9,50,11
-
- cls
- locate 10,36
- print "Hello!"
-
- if ostype=1 then
- locate 12,26
- print "Press any key to continue..."
- end if
-
- 100 if inkey$="" then goto 100
-
-